<html>
<body>

<?php 
function get($arr,$key) {
    if (!isset($arr[$key])) return '';
    return $arr[$key];
}
echo "Study " . get($_GET, 'subject'). " at " . get($_GET, 'web');
?>

</body>
</html>